package com.local.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "crossing_")
public class Crossing {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "uuid")
    private String uuid;

    @Column(name = "_name")
    private String name;

    @Column(name = "view_url")
    private String viewUrl;

    @Column(name = "stream_")
    private String stream;

    /**
     * 设置是否显示，没有值表示默认显示在岗亭列表，如果有值表示不显示 null 和 1 显示 
     */
    @Column(name = "resolution")
    private String resolution;
    
    //汇总后设备编码
    @Column(name = "equipment_view_stream")
    private String equipmentViewStream;

    /**
     *    用户关联汇总路口ID,时间 2016-7-24
     */
    @Column(name = "process_id")
    private String processId;

    @Column(name = "status_")
    private Integer status;

    @Column(name = "remaker_")
    private String remaker;
    
    private String exchangeUuid;
    
    private boolean checked;
    
    /**
     * 汇总路口名称
     */
    private String collectName;
    
    
    
    
    
    

    public String getCollectName()
	{
		return collectName;
	}

	public void setCollectName(String collectName)
	{
		this.collectName = collectName;
	}

	public boolean isChecked()
	{
		return checked;
	}

	public void setChecked(boolean checked)
	{
		this.checked = checked;
	}

	public String getExchangeUuid()
	{
		return exchangeUuid;
	}

	public void setExchangeUuid(String exchangeUuid)
	{
		this.exchangeUuid = exchangeUuid;
	}

	public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public void setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl == null ? null : viewUrl.trim();
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream == null ? null : stream.trim();
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution == null ? null : resolution.trim();
    }

    public String getEquipmentViewStream() {
        return equipmentViewStream;
    }

    public void setEquipmentViewStream(String equipmentViewStream) {
        this.equipmentViewStream = equipmentViewStream == null ? null : equipmentViewStream.trim();
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId == null ? null : processId.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemaker() {
        return remaker;
    }

    public void setRemaker(String remaker) {
        this.remaker = remaker == null ? null : remaker.trim();
    }
}